﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WMSpublic;

namespace Customer.Domain
{
    /// <summary>
    /// 退货表
    /// </summary>
    public class Refund: Audit
    {
        /// <summary>
        /// 退货表id
        /// </summary>
        [Key]
        public int RefundId { get; set; }

        /// <summary>
        /// 退货编号
        /// </summary>
        public string? RefundCode { get; set; }

        /// <summary>
        /// 是否退货
        /// </summary>
        public int? IsRefund { get; set; }

        /// <summary>
        /// 采购id
        /// </summary>
        public int? ProcurementId { get; set; }

        /// <summary>
        /// 产品id
        /// </summary>
        public int? ProductsId { get; set; }

        /// <summary>
        /// 退货数量
        /// </summary>
        public int? RefundNum { get; set; }

        /// <summary>
        /// 销售id
        /// </summary>
        public int? SalesId { get; set; }

        /// <summary>
        /// 公司id
        /// </summary>
        public string? Office_Id { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        public int? User_Id { get; set; }

        /// <summary>
        /// 批次
        /// </summary>
        public string? batch { get; set; }

    }
}
